package com.caiyouxi.pay.model;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.io.Serializable;

/**
 * 支付基础信息
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class PaymentBean implements Serializable
{
    private Integer id;
    private String type;//类型：APP,PC,H5
    private String provider;//支付网关类型。目前两个值可选：ALIPAY、WECHAT。后面有新的支付方式的时候再配置，比如银联支付、平台币支付等。
    private Integer owner;//该支付主体。比如是以哪个公司注册的。在 partner：合作伙伴信息表_ok 表中，我们自己的公司编号。
    private String logo;//logo ,可以多个
    private String title;//支付方式名称，后台使用，前台不展示
    private String show_name;//前台显示 名称
    private String ad;//推广语
    private String gateway_rate;//网关费率
    private String user_fee;//用户手续费,是否有，如果有的话，费率是多少。最低多少钱，最高多少钱
    private Integer is_support_creditcard;//是否支持信用卡，0不支持 1支持
    private String param_config;//第三方支付方式配置，APPID,SECRET，公私钥等
    private String sort;//优先级排序
    private String status;//是否启用 0 不启用 1启用
    private String desc;//备注
    private String create_time;
    private String update_time;




    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getProvider() {
        return provider;
    }

    public void setProvider(String provider) {
        this.provider = provider;
    }

    public Integer getOwner() {
        return owner;
    }

    public void setOwner(Integer owner) {
        this.owner = owner;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUser_fee() {
        return user_fee;
    }

    public void setUser_fee(String user_fee) {
        this.user_fee = user_fee;
    }

    public String getShow_name() {
        return show_name;
    }

    public void setShow_name(String show_name) {
        this.show_name = show_name;
    }

    public String getAd() {
        return ad;
    }

    public void setAd(String ad) {
        this.ad = ad;
    }

    public String getGateway_rate() {
        return gateway_rate;
    }

    public void setGateway_rate(String gateway_rate) {
        this.gateway_rate = gateway_rate;
    }



    public Integer getIs_support_creditcard() {
        return is_support_creditcard;
    }

    public void setIs_support_creditcard(Integer is_support_creditcard) {
        this.is_support_creditcard = is_support_creditcard;
    }

    public String getParam_config() {
        return param_config;
    }

    public void setParam_config(String param_config) {
        this.param_config = param_config;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }
}
